a {
    text-decoration: none;
    color: #222;
}
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 16px/1.5 PingFangSC-regular,Tahoma,Lucida Grande,Verdana,Microsoft Yahei,STXihei,hei;
    color: #000;
    background-color: #f2f2f2;
    overflow-x: hidden; /* 永远不出现水平方向滚动条 */
    -webkit-tap-highlight-color: rgba(232, 230, 227, 0);
}
ul {

    /* 去掉ul中默认的margin和padding */
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}

.search-index {
    /* 设置其为flex容器 */
    display: flex;
    /* 固定定位跟父级没有关系，它以屏幕为准 */
    position: fixed;
    top: 0;
    /* 以下三行代码，使其居中 */
    left: 0;
    right: 0;
    margin: 0 auto;
    /* 固定的盒子应该有宽度 */
    width: 100%;
    height: 44px;
    max-width: 540px;
    min-width: 320px;
    background-color: #f6f6f6;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;

}
.search {
    position: relative;
    flex: 1;
    height: 26px;
    border: 1px solid #ccc;
    margin: 6px 10px;
    padding-left: 25px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 26px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.search::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 15px;
    height: 15px;
    background: url(/images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
}
.user {
    width: 44px;
    height: 44px;
    /* background-color: purple; */
    font-size: 12px;
    color: #2eaae0;
    text-align: center;
}
.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(/images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px 10px 0px;
}
/* 焦点图模块 */
.focus {
    margin-top: 44px;
}
.focus img {
    width: 100%;
}
/* 局部导航栏 */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
}
.local-nav>li {
    flex: 1;
}
.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
.local-nav>li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    /* background-color: pink; */
    margin-top: 8px;
    background: url(/images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}
.local-nav>li .local-nav-icon-2 {
    background: url(/images/localnav_bg.png) no-repeat 0 -32px;
    background-size: 32px auto;
}
.local-nav>li .local-nav-icon-3 {
    background: url(/images/localnav_bg.png) no-repeat 0 -64px;
    background-size: 32px auto;
}
.local-nav>li .local-nav-icon-4 {
    background: url(/images/localnav_bg.png) no-repeat 0 -96px;
    background-size: 32px auto;
}
.local-nav>li .local-nav-icon-5 {
    background: url(/images/localnav_bg.png) no-repeat 0 -128px;
    background-size: 32px auto;
}
/* 主导航栏 */
nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
.nav-common {
    display: flex;
    height: 88px;
    /* background-color: pink; */
    text-align: center;
}
.nav-common:nth-child(2) {
    margin: 3px 0;
}
.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    font-size: 14px;
    color: #fff;
    /* 文字阴影效果 */
    text-shadow: 1px 1px rgba(0, 0 ,0 , .2);
}
.nav-items a:first-child {
    border-bottom: 1px solid #fff;
}
.nav-items:first-child {
    background: url(/images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #fa5a55, #fa994d);
}
.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4b90ed, #53bced);
}
.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34c2a9, #6cd559);
}
/* 子导航栏 */
.subnav-entry {
    display: flex;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    flex-wrap: wrap;
}
.subnav-entry li {
    flex: 20%;
}
.subnav-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-entry-icon {
    width: 28px;
    height: 28px;
    background: url(/images/subnav-bg.png) no-repeat;
    background-size: 28px auto;
}
.sales-box {
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}
.sales-hd {
    position: relative;
}
.sales-hd h2 {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2::after {
    position: absolute;
    top: 8px;
    left: 5px;
    content: "";
    width: 79px;
    height: 15px;
    background: url(/images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.more {
    position: absolute;
    top: 0;
    right: 0;
    background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
    padding: 3px 20px 3px 10px;
    color: #fff;
    border-radius: 15px;
}
.more::after {
    position: absolute;
    top: 9px;
    right: 10px;
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.row {
    display: flex;
}
.row a {
    flex: 1;
    border-bottom: 1px solid #ccc;
}
.row a:nth-child(1) {
    border-right: 1px solid #ccc;
}
.row a img {
    width: 100%;
    vertical-align: middle;
}